/*  Copyright (C) 2011-2012 Peter Upfold.

    This program is free software; you can redistribute it and/or
	modify it under the terms of the GNU General Public License
	as published by the Free Software Foundation; either version 2
	of the License, or (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
*/


/* Plugin 32x32 icon */

#icon-total-slides {
	background:transparent url(../img/total-slider-icon-32.png?ver=20120229) no-repeat;
}


/* Slide sorter */

#slidesort {
	margin: 0;
	padding: 0;
	width: 10000px;
	height: 95px;
}

#slidesort-container {
	width: auto;
	overflow-x: scroll;
	overflow-y: hidden;
	margin: 0;
	padding: 0;
}


/* Slides in the slide sorter */

ul#slidesort li {
	border: 3px solid transparent;
	display: block;
	float: left;
	margin: 0 12px 10px 0;
	padding: 0;
	cursor: pointer;
	overflow-x: none;
	position: relative;
	width: 162px;
	height: 82px;
}

ul#slidesort li.slidesort-selected {
	border: 3px solid #8CC1E9;
}

.slidesort_slidebox {
	border: 1px solid #464646;
	width: 160px;
	height: 80px;
	background-color: #FFF;
	background-size:100% 100% !important;
	background-repeat:no-repeat !important;
}

.slidesort_text {
	padding: 4px 5px 5px;
	color: #FFF;
	text-shadow: 0 1px 1px #000;
	background: url(../img/slider-desc-bg.png);
}

.slidesort-icon {
	position: absolute;
	display: none;
	width: 14px;
	height: 14px;
	text-indent: -1000in;
	overflow: hidden;
	background-image: url(../img/icons.png);
}

ul#slidesort li:hover .slidesort-icon {
	display: block;
}


/* Slidesort slide buttons */

.slide-delete-button {
	bottom: 3px;
	right: 3px;
	background-position: center right;
}

.slide-move-button {
	bottom: 3px;
	left: 4px;
	background-position: center left;
	cursor: move;
}


/* New slide button */

ul#new-slide-button {
	text-align:right;
	margin:20px;
	padding:5px;
}

ul#new-slide-button li {
	text-align:right;
	border-width: 3px;
	border-color: #566b4d;
	border-style: solid;
	background-color: #a8d097;
	display:inline;
	margin: 10px 10px 10px 10px;
	padding: 10px 16px 10px 16px;
	cursor:pointer;
	font-weight:bold;
	font-size:120%;
}


/* Slide preview canvas */

#edit-area {
	display: block;
	background: url(../img/slider-workspace-bg.png);
	padding: 30px;
	border: 1px solid #BBB;
}

#slide-preview {
	cursor: move;
}


/* Edit area */

#edit-controls {
	opacity: 0;
}

#edit-controls .form-table th {
	width: 125px !important;
}

.edit-controls-inputs {
	float: left;
}

#edit-slide-image-upload {
	max-width: 150px;
}

#slide-link-internal-display {
	font-style: italic;
	font-size: 12px;
}

#slide-link-external-settings {
	display: none;
}

#slide-link-internal-settings {
	display: none;
}

#edit-controls .submit {
	float: none !important;
	padding: 5px 12px 10px !important;
}

#edit-controls-save, #edit-controls-cancel {
	cursor: pointer;
}

/* Spinner & Saving... text */

#edit-controls-saving {
	display: none;
	margin-left: 0;
	color: #666;
	float: right;
	position: relative;
	top: -31px;
	left: -10px;
}

#edit-controls-spinner {
	vertical-align: middle;
	margin-right: 2px;
}

#edit-controls-saving span {
	position: relative;
	top: 1px;
}


/* HINT TEXT */

#edit-controls-choose-hint, .slidesort-add-hint, .no-items td {
	font-size: 150% !important;
	color: #888 !important;
	text-align: center !important;
}


/* Choose a slide to start */

#edit-controls-choose-hint {
	position: relative;
	left: auto;
	top: auto;
	margin: auto;
}

#message-area {
	display: none;
	background-color: #a5ff6d;
	border-color: #568438;
	width: auto;
}


/* Add a slide to start */

.slidesort-add-hint {
	position: absolute;
	left: 0;
	top: 30px;
	right: 0;
}


/* Click to create a new slide group */

.no-items td {
	padding-top: 45px !important;
	padding-bottom: 50px !important;
	border-bottom: 1px solid #DFDFDF !important;
}


/* Slide Groups Table Column widths */

.column-slides_count {
	width: 100px !important;
	max-width: 100px !important;
}

.column-actions {
	width: 220px;
}

#new-slide-group {
	display: none;
}


/* Metaboxes */

.postbox .hndle {
	cursor: default !important;
}

.postbox .hndle input {
	position: relative;
	z-index: 100;
}

.handlediv {
	display: none;
}

.inner-sidebar {
	float:right;
	clear:right;
	width:286px;
}

.has-right-sidebar #post-body-content {
	margin-right: 300px !important;
}


/* Copyright */

#copyright, #contrib-note {
	margin: 10px 0 0;
	padding: 1px 0 0;
	border-top: 2px groove #FFF;
}

#vpm-credit {
	text-transform: lowercase;
	text-shadow: 0 1px 0px #FFF, 0 0 2px #FFF;
	text-align: center;
	font-size: 13px;
	color: #777;
}

#vpm-credit a {
	display: inline-block;
	width: 120px;
	height: 19px;
	background: url('../img/vpm.png') no-repeat;
	text-indent: -1000in;
	position: relative;
	top: -2px;
	margin: 0;
}